<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="../Main/top.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="/WEB-INF/CustomTag" prefix="customTag"%>
<div class="function_title"><span class="t2"><img src="../images/dqwz.gif">当前位置：教师任课管理</span></div>
<div class="function_content">
<div class="addItem"><img src="../images/insert_icon.gif"><a href="preInsertCourseTeaClassFK.action">为教师分配课程与班级</a></div>

<div class="search_function">
<form action="searchListCourseTeaClassFK.action" method="get" name="search_form" id="search_form" >
<input type="hidden" name="intercept" value="1">
<div class="sub_form">教师用户名：
  <input type="text" name="courseTeaClassFK.teacherUsername" id="courseTeaClassFK.teacherUsername" value="<s:property value='courseTeaClassFK.teacherUsername' />"></div>
<div class="sub_form">教师姓名：
<input type="text" name="courseTeaClassFK.realName" id="courseTeaClassFK.realName" value="<s:property value='courseTeaClassFK.realName' />"></div>  
<div class="sub_form">所授课程：
<input type="text" name="courseTeaClassFK.courseName" id="courseTeaClassFK.courseName" value="<s:property value='courseTeaClassFK.courseName' />"></div>  
<div class="sub_form">所管班级：
<input type="text" name="courseTeaClassFK.className" id="courseTeaClassFK.className" value="<s:property value='courseTeaClassFK.className' />"></div>  
<div class="sub_form">所属学期：
<input type="text" name="courseTeaClassFK.termName" id="courseTeaClassFK.termName" value="<s:property value='courseTeaClassFK.termName' />"></div>  
<div class="sub_form">创建者：
 <input type="text" name="courseTeaClassFK.author" id="courseTeaClassFK.author" value="<s:property value='courseTeaClassFK.author' />"></div>
<div class="sub_form"><input type="submit" value="搜索" class="button"></div>
</form>
</div>


<form method="post" name="adminCourseTeaClassFKDel" id="adminCourseTeaClassFKDel" action="deleteMoreCourseTeaClassFK.action" >
<input type="submit" name="submit" value="删除选中记录" class="button" onClick="return p_del();"/>
<p><customTag:pages pageNo="${pagination.pageNo}" total="${pagination.totalPage}" theme="text" /></p>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="listTable">
  <tr class="title_line">
	<td><input type="checkbox" name="select_all" id="select_all" onClick="checkAll()" class="input_noborder"></td>
    <td>序号</td>
    <td>教师用户名</td>
	<td>教师姓名</td>
	<td>所授课程</td>
    <td>所管班级</td>
    <td>所属学期</td>
	<td>创建者</td>
    <td>添加时间</td>
    <td>修改时间</td>
    <td>操作</td>
  </tr>
  <s:iterator value="listCourseTeaClassFK" status="stat">
  <tr>
	<td><input type="checkbox" name="courseTeaClassFK.courseTeaClassIdString" id="allid" value="<s:property value='courseTeaClassId' />" class="input_noborder"></td>
    <td><s:property value="#stat.getIndex()+1" /></td>
    <td><s:property value="teacherUsername" /></td>
	<td><s:property value="realName"/></td>
	<td><s:property value="courseName" /></td>
    <td><s:property value="className" /></td>
    <td><s:property value="termName" /></td>
	<td><s:property value="author" /></td>
    <td><s:property value="gmtCreatedString" /></td>
    <td><s:property value='gmtModifiedString' /></td>
    <td><div class="br_line"><a href="../CourseTeaClassFK/deleteCourseTeaClassFK.action?courseTeaClassFK.courseTeaClassId=<s:property value='courseTeaClassId' />">删除</a></div></td>
  </tr>
  </s:iterator>
</table>
<p><customTag:pages pageNo="${pagination.pageNo}" total="${pagination.totalPage}" theme="text" /></p>
<input type="submit" name="submit" value="删除选中记录" class="button" onClick="return p_del();"/>
</form>
</div>

<%@ include file="../Main/bottom.jsp"%>